package com.medical.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 慢性报销管理对象 t_bx_record
 * 
 * @author ruoyi
 * @date 2020-06-16
 */
public class TBxRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报销记录编码 */
    @Excel(name = "报销记录编码")
    private String bxRecordCode;

    /** 经办人编码 */
    @Excel(name = "经办人编码")
    private String userId;

    /** 疾病编码编码 */
    @Excel(name = "疾病编码编码")
    private String chronicdisCode;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 总费用 */
    @Excel(name = "总费用")
    private Double allCost;

    /** 报销金额 */
    @Excel(name = "报销金额")
    private Double bxCost;

    /** 就诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date visTime;

    /** 报销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bxTime;

    /** 发票 */
    @Excel(name = "发票")
    private String receipt;

    /** 就诊机构 */
    @Excel(name = "就诊机构")
    private String visCity;

    /** 地区编号 */
    @Excel(name = "地区编号")
    private String areaCode;

    /** 报销状态(0-默认状态，未成功报销，1-已签领，报销成功) */
    @Excel(name = "报销状态(0-默认状态，未成功报销，1-已签领，报销成功)")
    private Integer bxState;

    /** $column.columnComment */
    @Excel(name = "报销状态(0-默认状态，未成功报销，1-已签领，报销成功)")
    private String year;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBxRecordCode(String bxRecordCode) 
    {
        this.bxRecordCode = bxRecordCode;
    }

    public String getBxRecordCode() 
    {
        return bxRecordCode;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setChronicdisCode(String chronicdisCode) 
    {
        this.chronicdisCode = chronicdisCode;
    }

    public String getChronicdisCode() 
    {
        return chronicdisCode;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setAllCost(Double allCost) 
    {
        this.allCost = allCost;
    }

    public Double getAllCost() 
    {
        return allCost;
    }
    public void setBxCost(Double bxCost) 
    {
        this.bxCost = bxCost;
    }

    public Double getBxCost() 
    {
        return bxCost;
    }
    public void setVisTime(Date visTime) 
    {
        this.visTime = visTime;
    }

    public Date getVisTime() 
    {
        return visTime;
    }
    public void setBxTime(Date bxTime) 
    {
        this.bxTime = bxTime;
    }

    public Date getBxTime() 
    {
        return bxTime;
    }
    public void setReceipt(String receipt) 
    {
        this.receipt = receipt;
    }

    public String getReceipt() 
    {
        return receipt;
    }
    public void setVisCity(String visCity) 
    {
        this.visCity = visCity;
    }

    public String getVisCity() 
    {
        return visCity;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setBxState(Integer bxState) 
    {
        this.bxState = bxState;
    }

    public Integer getBxState() 
    {
        return bxState;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bxRecordCode", getBxRecordCode())
            .append("userId", getUserId())
            .append("chronicdisCode", getChronicdisCode())
            .append("idCard", getIdCard())
            .append("allCost", getAllCost())
            .append("bxCost", getBxCost())
            .append("visTime", getVisTime())
            .append("bxTime", getBxTime())
            .append("receipt", getReceipt())
            .append("visCity", getVisCity())
            .append("areaCode", getAreaCode())
            .append("bxState", getBxState())
            .append("year", getYear())
            .toString();
    }
}
